﻿var o = {
    foo: 42,
    get val() {return this.foo;},
    set val(v) {this.foo = v;}
};